import React from 'react'
import logo from './logo.svg';
import './App.css';
import { Switch, Route, Redirect, BrowserRouter } from "react-router-dom";
import Login from './commponents/LH/Login/Login';
import Main from './layout/index';
function App() {
  return (
    <BrowserRouter>
      <Redirect exact={true} from="/" to="/Login"></Redirect>
      <Route path="/Main" component={Main}></Route>
      <Route path="/Login" component={Login}></Route>
    </BrowserRouter>
  );
}
export default App;